Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code coverage increase, and manual code trigger - src/flags.js #87

Open
wants to merge 10 commits into
base: f24
Choose a base branch
from

Conversation

mrahmed2026
Copy link

@mrahmed2026 mrahmed2026 commented Sep 4, 2024

I was able to increase the overall code coverage of this file.

83.26% Statements 408/490 67.34% Branches 165/245 82.69% Functions 86/104 83.87% Lines 390/465

85.3% Statements 418/490 71.02% Branches 174/245 84.61% Functions 88/104 86.02% Lines 400/465

This was indicated in the npm run test locally, and on the code coverage tool, and shown to Professor Eduardo as well.

Further, I addded a console log to the flag.js file and it was shown after i triggered the code, by flagging a blog post or annoucement.

@coveralls
Copy link

coveralls commented Sep 4, 2024

Pull Request Test Coverage Report for Build 10719743949

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.04%) to 82.715%

Files with Coverage Reduction New Missed Lines %
src/meta/errors.js 1 76.74%
Totals Coverage Status
Change from base Build 10550029021: 0.04%
Covered Lines: 22333
Relevant Lines: 25583

💛 - Coveralls

@mrahmed2026 mrahmed2026 changed the title Flag js coverage increase Code coverage increase, and manual code trigger - src/flags.js Sep 5, 2024
Copy link

sonarcloud bot commented Sep 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants